package com.mingtu.jgspatrol.activity;

import android.view.View;

import com.mingtu.jgspatrol.R;
import com.mingtu.jgspatrol.base.MyBaseActivity;
import com.mingtu.jgspatrol.databinding.ActivityMeetingBinding;

public class MeetingActivity extends MyBaseActivity<ActivityMeetingBinding> {


    @Override
    protected int getLayoutId() {
        return R.layout.activity_meeting;
    }

    @Override
    protected void initView() {
        setModuleTitle("视频会议");
    }

    @Override
    protected void initData() {
//        boolean isLeader = SPStaticUtils.getBoolean(SPTools.isLeader);
//        if(isLeader){
//            ivCreationMeeting.setVisibility(View.VISIBLE);
//        }else{
//            ivCreationMeeting.setVisibility(View.GONE);
//        }

        addClickListener(this, binding.ivJoinMeeting, binding.ivCreationMeeting);
    }

    @Override
    protected void getData() {

    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch (v.getId()) {
            case R.id.iv_join_meeting:
//                IntentUtils.getInstance().readyGo(ActivityUtil.getTopActivity(), JoinRoomActivity.class);
                break;
            case R.id.iv_creation_meeting:
//                IntentUtils.getInstance().readyGo(ActivityUtil.getTopActivity(), CreateRoomActivity.class);
                break;
        }
    }
}